<%-- 
    Document   : login
    Created on : Feb 11, 2012, 10:46:16 AM
    Author     : Doodles
--%>
<%! HttpSession session; %>
<%-- if (session.getAttribute("account") != null) response.sendRedirect("../store"); --%>
<%@ include file="../template/header.jsp" %>
<h1>Log In</h1>
<form name="loginForm" action="Login" method="POST">
    <table>
        <tr>
            <td><input type="text" name="email" placeholder="Email Address" validate="form" require="<b>Required Field Missing</b><br/>Please enter your email address." email="<b>Invalid Email Address</b><br/>Email address must be in the form of example@address.com"  /></td>
        </tr>
        <tr>
            <td><input type="password" name="password" placeholder="Password" validate="form" /></td>
        </tr>
        <tr>
            <td>
                <input type="submit" name="login" value="Log in" />
            </td>
        </tr>
    </table>
</form>
<%@ include file="../template/footer.jsp" %>
